package run;

import java.util.Map;

import context.mm_context;
import core.reactor.mm_start;
import log.mm_logger;
import utils.mm_ticket_util;

/**
 * 主入口
 * @author dongyazhuo
 */
public class mm_application {

	private static String TAG = mm_application.class.getSimpleName() + " : ";

	public static void main(String[] args) {

		Map<String, String> args_map = mm_ticket_util.get_config(args);

		// 初始化全局对象
		mm_context _mm_context = mm_context.instance();
		_mm_context.init(args_map);
		mm_logger.i(TAG + "mm_context init ok .");
		new mm_start().start();
	}

}
